package com.yykj.drup.server.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author zengg
 * @since 2022-03-14
 */
@AllArgsConstructor
@Builder
@Getter
@Setter
@TableName("doctor_product")
@ApiModel(value = "DoctorProduct对象", description = "")
public class DoctorProduct {

    @ApiModelProperty("医生常用药品主键ID")
    @TableId("id")
    private Integer id;

    @ApiModelProperty("医生主键ID")
    @TableField("doctor_id")
    private String doctorId;

    @ApiModelProperty("中西药类别")
    @TableField("category_type")
    private Integer categoryType;

    @ApiModelProperty("药品ID")
    @TableField("product_id")
    private Integer productId;

    @ApiModelProperty("数量")
    @TableField("count_num")
    private Integer countNum;

    @TableField("created_time")
    private LocalDateTime createdTime;


}
